import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

// import './assets/main.css'
// 引入对应的css重置样式表
import 'normalize.css'
// main.ts
import 'vant/es/toast/style'
import 'vant/es/dialog/style';
import 'vant/es/notify/style';
import 'vant/es/image-preview/style';
// 引入创建好的pinia 对象挂载到跟实力上
import pinia from '@/store'

const app = createApp(App)

app.use(createPinia())
app.use(pinia)
app.use(router)

app.mount('#app')
